<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>/html/~cust/service/">
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/style.css" rel="stylesheet" type="text/css">
<script src="../../script/common.js"></script>
<script type="text/javascript">
	function help() {
		alert("帮助");
	}
</script>
</head>

<body>
	<div class="page_title">客户服务管理 > 服务创建</div>
	<form action="newServe.action" method="post">
		<div class="button_bar">
			<input type="button" value="帮助" class="common_button"
				onclick="help()" /> <input type="submit" value="保存"
				class="common_button" />
			<!-- <button class="common_button" onclick="help('');">帮助</button>
	<button class="common_button" onclick="add('add.jsp');" >保存</button>   -->
		</div>
		<table class="query_form_table">
			<tr>
				<th>编号</th>
				<td><input disabled />
				</td>
				<th>服务类型</th>
				<td><select name="crmserve.crmDictionaryByServertype.uuid">
						<option value="">请选择...</option>
						<s:iterator value="#crmDic" var="cd">
							<option value="<s:property value="#cd.uuid" />"><s:property value="#cd.itemvalue" /></option>
						</s:iterator>
				</select><span class="red_star">*</span></td>
			</tr>
			<tr>
				<th>概要</th>
				<td colspan="3"><input size="53" id="biref"
					name="crmserve.biref" /><span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<th>客户</th>
				<td><select name="crmserve.crmCustom.uuid">
						<option value="">请选择...</option>
						<s:iterator value="#crmCus" var="cc">
							<option value="<s:property value="#cc.uuid" />"><s:property value="#cc.uuid" /></option>
						</s:iterator>
				</select><span class="red_star">*</span>
				<!-- <input name="crmserve.crmCustom" size="20" id="crmCustom" /><span
					class="red_star">*</span> -->
				</td>
				<th>状态</th>
				<td>新创建</td>
			</tr>
			<tr>
				<th>服务请求</th>
				<td colspan="3"><textarea rows="6" cols="50" id="serverrequest"
						name="crmserve.serverrequest"></textarea><span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<th>创建人</th>
				<td><input name="creator" value="刘颖" readonly size="20" /><span
					class="red_star">*</span>
				</td>
				<th>创建时间</th>
				<td><input id="t1" name="crmserve.createtime" readonly size="20" /><span
					class="red_star">*</span>
				</td>
			</tr>
		</table>
		<br />
	</form>
	<table disabled class="query_form_table" id="table3">
		<tr>
			<th>分配给</th>
			<td><select>
					<option>请选择...</option>
					<option>小明</option>
					<option>旺财</option>
					<option>球球</option>
					<option>孙小美</option>
					<option>周洁轮</option>
			</select> <span class="red_star">*</span>
			</td>
			<th>分配时间</th>
			<td><input id="t2" name="T18" readonly size="20" /><span
				class="red_star">*</span>
			</td>
		</tr>
	</table>
	<br />
	<table disabled class="query_form_table" id="table1">
		<tr>
			<th>服务处理</th>
			<td colspan="3"><textarea rows="6" cols="50"></textarea><span
				class="red_star">*</span>
			</td>
		</tr>
		<tr>
			<th>处理人</th>
			<td><input name="T17" value="刘颖" readonly size="20" /><span
				class="red_star">*</span>
			</td>
			<th>处理时间</th>
			<td><input id="t3" name="T16" readonly size="20" /><span
				class="red_star">*</span>
			</td>
		</tr>
	</table>
	<br />
	<table disabled class="query_form_table" id="table2">
		<tr>
			<th>处理结果</th>
			<td><input name="T10" size="20" /><span class="red_star">*</span>
			</td>
			<th>满意度</th>
			<td><select name="D1">
					<option>请选择...</option>
					<option>☆☆☆☆☆</option>
					<option>☆☆☆☆</option>
					<option>☆☆☆</option>
					<option>☆☆</option>
					<option>☆</option>
			</select><span class="red_star">*</span>
			</td>
		</tr>
	</table>
	<script>
		setCurTime('t1');
		setCurTime('t2');
		setCurTime('t3');
	</script>
</body>
</html>